home *** CD-ROM | disk | FTP | other *** search
- diff -r ./job.c orig/job.c
- 24,26d23
- < #ifdef atarist /* Modification for Atari ST */
- < #include <support.h> /* For findfile() */
- < #endif
- 29,31d25
- < #ifdef atarist /* Modifcation for Atari ST */
- < static char default_path[] = ":/bin:/usr/bin:/gnu/bin";
- < #else
- 33d26
- < #endif
- 204,207d196
- < #ifdef atarist /* Atari ST modification */
- < /* What a shame! waitpid() isn't defined in the mintlib pl30 headers. */
- < extern int waitpid(pid_t pid, union wait *status, int options);
- < #endif
- 775,779d763
- < #ifdef atarist /* Atari ST modification */
- < /* getloadavg() is NOT supported by MiNT in any way... */
- < errno = 0;
- < if (1)
- < #else
- 781d764
- < #endif
- 854,857d836
- < #ifdef atarist /* Atari ST modification */
- < static char *_extensions[] = { "ttp", "prg", "tos", "app", NULL };
- < #endif
- <
- 862,885d840
- < #ifdef atarist /* Modification for Atari ST */
- < char *p;
- <
- < if (path == 0 || path[0] == '\0')
- < path = default_path;
- <
- < if ((index (file, '/') != 0) || (index (file, '\\') != 0))
- < {
- < strcpy (program, file);
- < return 1;
- < }
- < else
- < {
- < p = (char *) findfile (file, path, _extensions);
- < if (p == NULL)
- < return 0;
- < else
- < {
- < strcpy (program, p);
- < return 1;
- < }
- < }
- <
- < #else /* Not Atari ST */
- 969d923
- < #endif /* Atari ST modification */
- diff -r ./read.c orig/read.c
- 259,264c259
- < #ifdef atarist /* Modification for Atari ST */
- < infile = fopen (filename, "rt");
- < #else
- < infile = fopen(filename, "r");
- < #endif
- <
- ---
- > infile = fopen (filename, "r");
- 278,282c273
- < #ifdef atarist /* Modification for Atari ST */
- < infile = fopen (name, "rt");
- < #else
- < infile = fopen(name, "r");
- < #endif
- ---
- > infile = fopen (name, "r");
-